package com.bp.village.enums;

import java.util.HashMap;
import java.util.Map;

/**
 * @author shaominjie
 * @description 房产性质
 * @date 2021/2/1 0001 15:18
 */
public enum EnumsNatureType {
    /** 出让 **/
    TRANSFER(0,"出让"),
    /** 划拨 **/
    ALLOCATION(1,"划拨");


    public final static Map<Integer, String> MAP = new HashMap<Integer, String>() {
        {
            put(0,"出让");
            put(1,"划拨");
        }
    };
    private Integer type;
    private String name;

    EnumsNatureType(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
